<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <title>外协库存</title>
</head>

<body>
  <div id="app">
    <div class="out-warehouse">
      <el-tabs v-model="activeMenu" class="out-warehouse-tabs full-tabs" v-if="menus.length>0">
        <el-tab-pane lazy v-for="menu in menus" :key="menu.name" :label="menu.label" :name="menu.name">
          <component :is="menu.url" class="menu-item"></component>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</body>

<script src="../../myJs/importFile.js"></script>
<script>
  importFile([
    "/vueSystem/components/css/sysCommonSearch.css",
    "/vueSystem/components/css/searchBtnView.css",
    "/vueSystem/components/css/pageSelect.css",
    "../components/css/electroplateDetail.css",
    "../orderCirculation/css/outOrderForm.css",
    "../orderCirculation/css/createOutOrder.css",
    "../orderCirculation/css/outHandover.css",
    "./css/outInRecord.css",
    "./css/summaryRecord.css"
  ], [
    "/vueSystem/i18n/index.js",
    "/vueSystem/js/checkVaildUtil.js",
    "/vueSystem/js/permissionUtil.js",
    "/vueSystem/components/sysCommonSearch.js",
    "/vueSystem/components/searchBtnView.js",
    "/vueSystem/components/pageSelect.js",
    "/vueSystem/mixins/tablePaginationMixin.js"
  ]);

</script>
<script src="../utils/moduleUtil.js"></script>
<script src="../components/electroplateDetail.js"></script>
<script src="../orderCirculation/orderApi.js"></script>
<script src="../orderCirculation/createOutOrder/materialOutOrder.js"></script>
<script src="../orderCirculation/createOutOrder/electroplateOutOrder.js"></script>
<script src="../orderCirculation/createOutOrder.js"></script>
<script src="../orderCirculation/outHandover/materialOutHandover.js"></script>
<script src="../orderCirculation/outHandover/electroplateOutHandover.js"></script>
<script src="../orderCirculation/outHandover.js"></script>
<script src="./outInRecord.js"></script>
<script src="./summaryRecord.js"></script>

<script type="text/javascript">
  var app = new Vue({
    el: '#app',
    data: function () {
      return {
        activeMenu: 'outInRecord',
        menus: [{
          label: '库存记录',
          name: 'outInRecord',
          url: 'out-in-record',
        }, {
          label: '库存汇总',
          name: 'summaryRecord',
          url: 'summary-record'
        }]
      };
    },
    components: {
      OutInRecord: OutInRecord,
      SummaryRecord: SummaryRecord
    }
  });

</script>

<style>
  .out-warehouse {
    padding-left: 20px;
    height: 100%;
  }

  .menu-item {
    position: relative;
  }

</style>

</html>
